<?php
	class IndexController extends  BigsLibrary_Controller_Action{
		//index.phtml
		public function init(){      
      	$templatePath = TEMPLATE_PATH . '/guest/default';
			$this->loadTemplate ( $templatePath );
		}
		public function indexAction(){
			// $templatePath = TEMPLATE_PATH . '/admin/default';
			// $this->loadTemplate ( $templatePath );

			$this->view->string="Nguyễn Dương Ái Diệu";
			$array=array(
			'08520282'=>'Nguyễn Vũ Phong',
			'09520481'=>'Nguyễn Dương Ái Diệu',
			'09520112'=>'Huỳnh Đức Huy'
			);
			$this->view->info=$array;
			
			
			 
			 
			 $login = new Guest_Model_User();
			 
			$db = Zend_Registry::get('db');
			 $sql='SELECT * FROM login where id=3';
			 
			//$login=$db->fetchAll($sql);
			$this->view->listuser=$login->listUser();


		}
		
		
	}
?>